import { ApiReturn } from '@/types/global';
import { get } from '@/utils/request';
import { ListReq, ListResp, DeleteReq } from '../vms';

class SvcService {
  static list = (params: ListReq): ApiReturn<ListResp> =>
    get('/v1/svc/list', params);

  static delete = (params: DeleteReq): ApiReturn<{}> =>
    get('/v1/svc/delete', params);
}

export { SvcService };
export default SvcService;
